<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <{include file="public/head" /}>
</head>
<body>
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class="layui-this"><{$title}></li>
        <li><a href="<{:url('News/edit')}>"> 新增</a></li>
    </ul>
    <div class="layui-tab-content">
        <table class="layui-table">
            <thead>
            <tr>
                <th>标题</th>
                <th>资讯分类</th>
                <th>发布者</th>
                <th>发布日期</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <{volist name="list" id="vo"}>
                <tr>
                    <td><{$vo.title}></td>
                    <td><{$vo.cate_name}></td>
                    <td><{$vo.uadmin}></td>
                    <td><{$vo.utime}></td>
                    <td>
                        <a href="<{:url('News/edit',['id'=>$vo.id])}>">编辑</a>
                        <a href="<{:url('News/del',['id'=>$vo.id])}>">删除</a>
                    </td>
                </tr>
            <{/volist}>
            </tbody>
        </table>
        <{$list->render()}>
    </div>
</div>
<{include file="public/foot" /}>
</body>
</html>